var fs = require("fs");
var data = "";
var reads = fs.createReadStream("static/作业.txt");
reads.setEncoding("UTF-8");
//读取
reads.on("data", function(chunk) {
        data = data + chunk;
    })
    //读取完毕
reads.on("end", function() {
    console.log(data);
})
reads.on("error", function(err) {
    console.log(err.stack);
})